using System;
using System.Collections.Generic;
using System.Text;
using System.Configuration;

public class Constant
{
    public static readonly string ConnectionString = ConfigurationSettings.AppSettings["connectionstring"];
    public static readonly string DataOperation = ConfigurationSettings.AppSettings["dataoperation"];
    public static readonly string ServerIP = ConfigurationSettings.AppSettings["ip"];
    public static readonly int ServerPort = int.Parse(ConfigurationSettings.AppSettings["port"]);
    public static readonly int UpdateInterval = int.Parse(ConfigurationSettings.AppSettings["updateinterval"]);
    public const byte MAXRETRY = 4;
}

